<?php
namespace backend\models;


use Yii;
use yii\rbac\Rule;


class TestRule extends Rule
{
    public $name = 'article';
    public function execute($user, $item, $params)
    {
        // 这里先设置为false,逻辑上后面再完善
        return false;
    }
}